<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
第${page.currentPageNum}页/共${page.totalPageSize}页&nbsp;&nbsp;共${page.totalRecords}条&nbsp;&nbsp;
    <c:choose>
		<c:when test="${(page.currentPageNum-1)>0}">
    	    <a href="${pageContext.request.contextPath}${page.uri}&pagenum=${page.prePageNum}">上一页</a>
		</c:when>
		<c:otherwise>
        	<a href="javascript:alert('已经到第一页啦')">上一页</a>
		</c:otherwise>
	</c:choose>
    	
      <c:choose>
		<c:when test="${page.currentPageNum<page.totalPageSize}">
    	   <a href="${pageContext.request.contextPath}${page.uri}&pagenum=${page.nextPageNum}">下一页</a>
		</c:when>
		<c:otherwise>
        	<a href="javascript:alert('已经到到最后一页啦')">下一页</a>
		</c:otherwise>
	</c:choose>	